<html>
    <body>
        <button  onclick="showToast()"type="submit" style="color:blue;width:200px;height:300px">Toast Something</button>
    </body>
</html>
<script>
    function showToast(){
        alert('这是一个弹框',2000);
    }
</script>